/**
 * Created by chenqiailai on 17/9/10.
 */
$(function () {
    //年龄
    // alert(result[46]);
    var radio = $('.provision-text');

    var radio_i = $(radio).children('i');
    $(radio).click(function () {

        if($(radio_i).hasClass('active')){
            $(radio_i).removeClass('active');
        }else{
            $(radio_i).addClass('active');
        }
    });
    var bigfive = $('.howplay-ul li');
    $(bigfive).each(function () {
        $(this).click(function () {
            var codeid = $(this).attr('id');
            result.code =codeid;
            $(this).addClass('active').siblings('li').removeClass('active');
        });
    });
});